package com.lagou.rpc.consumer.loadbalance;

import java.util.Map;

/**
 * 负载均衡策略接口
 */
public interface LoadBalanceStrategy {
    /**
     * 获取请求客户端
     *
     * @param clientPool
     * @param serviceClassName
     * @return
     */
    String route(Map<String, String> clientPool, String serviceClassName);

}
